@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './iconfont.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif, iconfont;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

//横向滚动条全局样式
.beauty-Scroll {
  .el-scrollbar {
    height: 100%; /*此处一定要设置高度，不然内层的计算属性不生效*/
  }

  .el-scrollbar__wrap {
    width: calc(100% + 17px); /*将垂直滚动条挤到可视区域之外*/
    height: calc(100% + 17px); /*将水平滚动条挤到可视区域之外*/
  }

  .el-scrollbar__view {

    height: 100%;
  }
}

//滚动条形图颜色覆盖设置
.dv-scroll-ranking-board .ranking-column {
  border-bottom: 2px solid rgba(37, 153, 160, 0.5) !important;

  .inside-column {
    background-color: #2599A0 !important;
  }

  .shine {
    //background: radial-gradient(#39f7ff 5%, transparent 80%) !important;
  }
}

.dv-scroll-ranking-board .ranking-info .rank {
  color: #2599A0 !important;
}
